﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Cmd
{
    public class OptionGroup
    {
        internal List<OptionGroupItem> _options;
        public string Name { get; private set; }
        public ReadOnlyCollection<OptionGroupItem> Options { get; private set; }

        public OptionGroup(string groupName)
        {
            Name = groupName;
            _options = new List<OptionGroupItem>();
            Options = new ReadOnlyCollection<OptionGroupItem>(_options);
        }
    }
}
